package cn.ges.movie.config.autowired

import com.ges.common.config.autowired.UserAdapter
import cn.ges.movie.util.UserIdHelper
import org.springframework.stereotype.Service

/**
 *
 * @author gespent@163.com
 * @date 2021/3/15 15:29
 */
@Service
open class UserAdapterImpl: UserAdapter {
    override fun getUserId(): Long? {
        return UserIdHelper.getLongCurrentUserId()
    }
}
